package org.tea.inventory.domain.tea;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;
import java.util.Date;

/**
 * 供应商信息对象 supplier_message
 * 
 * @author dongxb
 * @date 2025-04-14
 */
@ApiModel(value = "供应商信息对象")
@Data
@NoArgsConstructor
public class SupplierMessage implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 主键自动递增 */
    private Long id;

    /** 主键自增 */
    @ApiModelProperty(value = "主键自增")
    private String supplierId;

    /** 供应商序号 */
    @ApiModelProperty(value = "供应商序号")
    private String supplierNum;

    /** 供应商类别 */
    @ApiModelProperty(value = "供应商类别")
    private String typeId;

    /** 供应商名称 */
    @ApiModelProperty(value = "供应商名称")
    private String supplierName;

    /** 地域 */
    @ApiModelProperty(value = "地域")
    private String supplierPurchasAddress;

    /** 鑱旂郴浜? */
    @ApiModelProperty(value = "鑱旂郴浜?")
    private String supplierContact;

    /** 鑱旂郴鐢佃瘽 */
    @ApiModelProperty(value = "鑱旂郴鐢佃瘽")
    private String supplierPhone;

    /** 职位 */
    @ApiModelProperty(value = "职位")
    private String supplierPosition;

    /** 单位地址 */
    @ApiModelProperty(value = "单位地址")
    private String supplierAddress;

    /** 閭 */
    @ApiModelProperty(value = "閭")
    private String supplierMail;

    /** 固定电话 */
    @ApiModelProperty(value = "固定电话")
    private String supplierTel;

    /** 传真 */
    @ApiModelProperty(value = "传真")
    private String supplierFax;

    /** 备注 */
    @ApiModelProperty(value = "备注")
    private String supplierRemark;

    /** 添加人 */
    @ApiModelProperty(value = "添加人")
    private String addUser;

    /** 添加时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "添加时间")
    private Date addTime;

    /** 修改人 */
    @ApiModelProperty(value = "修改人")
    private String modifyUser;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "修改时间")
    private Date modifyTime;

    /** 删除标记 0正常1删除 */
    private String delFlag;

    /** 数据来源：0供应商系统 1U8系统 2导入 3商机系统 5招投标管理 */
    @ApiModelProperty(value = "数据来源：0供应商系统 1U8系统 2导入 3商机系统 5招投标管理")
    private String dataFrom;

    /** 资质备注 */
    @ApiModelProperty(value = "资质备注")
    private String qualifiedRemark;

    /** 司公ID */
    @ApiModelProperty(value = "司公ID")
    private String companyId;

    /** 银行卡卡号 */
    @ApiModelProperty(value = "银行卡卡号")
    private String bankCardNo;

    /** 银行卡名称 */
    @ApiModelProperty(value = "银行卡名称")
    private String bankCardName;

    /**  */
    @ApiModelProperty(value = "")
    private String procInsId;

    /**  */
    @ApiModelProperty(value = "")
    private String state;

    /** 是否启动（0启动 1不启动） */
    @ApiModelProperty(value = "是否启动")
    private String isEnable;

    /** 纳税性质 */
    @ApiModelProperty(value = "纳税性质")
    private String nature;

    /** 税率 */
    @ApiModelProperty(value = "税率")
    private String taxrate;

    /** 注册资本金 */
    @ApiModelProperty(value = "注册资本金")
    private String registeredCapital;

    /** 申请部门 */
    @ApiModelProperty(value = "申请部门")
    private String responsibleDept;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setSupplierId(String supplierId) 
    {
        this.supplierId = supplierId;
    }

    public String getSupplierId() 
    {
        return supplierId;
    }

    public void setSupplierNum(String supplierNum) 
    {
        this.supplierNum = supplierNum;
    }

    public String getSupplierNum() 
    {
        return supplierNum;
    }

    public void setTypeId(String typeId) 
    {
        this.typeId = typeId;
    }

    public String getTypeId() 
    {
        return typeId;
    }

    public void setSupplierName(String supplierName) 
    {
        this.supplierName = supplierName;
    }

    public String getSupplierName() 
    {
        return supplierName;
    }

    public void setSupplierPurchasAddress(String supplierPurchasAddress) 
    {
        this.supplierPurchasAddress = supplierPurchasAddress;
    }

    public String getSupplierPurchasAddress() 
    {
        return supplierPurchasAddress;
    }

    public void setSupplierContact(String supplierContact) 
    {
        this.supplierContact = supplierContact;
    }

    public String getSupplierContact() 
    {
        return supplierContact;
    }

    public void setSupplierPhone(String supplierPhone) 
    {
        this.supplierPhone = supplierPhone;
    }

    public String getSupplierPhone() 
    {
        return supplierPhone;
    }

    public void setSupplierPosition(String supplierPosition) 
    {
        this.supplierPosition = supplierPosition;
    }

    public String getSupplierPosition() 
    {
        return supplierPosition;
    }

    public void setSupplierAddress(String supplierAddress) 
    {
        this.supplierAddress = supplierAddress;
    }

    public String getSupplierAddress() 
    {
        return supplierAddress;
    }

    public void setSupplierMail(String supplierMail) 
    {
        this.supplierMail = supplierMail;
    }

    public String getSupplierMail() 
    {
        return supplierMail;
    }

    public void setSupplierTel(String supplierTel) 
    {
        this.supplierTel = supplierTel;
    }

    public String getSupplierTel() 
    {
        return supplierTel;
    }

    public void setSupplierFax(String supplierFax) 
    {
        this.supplierFax = supplierFax;
    }

    public String getSupplierFax() 
    {
        return supplierFax;
    }

    public void setSupplierRemark(String supplierRemark) 
    {
        this.supplierRemark = supplierRemark;
    }

    public String getSupplierRemark() 
    {
        return supplierRemark;
    }

    public void setAddUser(String addUser) 
    {
        this.addUser = addUser;
    }

    public String getAddUser() 
    {
        return addUser;
    }

    public void setAddTime(Date addTime) 
    {
        this.addTime = addTime;
    }

    public Date getAddTime() 
    {
        return addTime;
    }

    public void setModifyUser(String modifyUser) 
    {
        this.modifyUser = modifyUser;
    }

    public String getModifyUser() 
    {
        return modifyUser;
    }

    public void setModifyTime(Date modifyTime) 
    {
        this.modifyTime = modifyTime;
    }

    public Date getModifyTime() 
    {
        return modifyTime;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public void setDataFrom(String dataFrom) 
    {
        this.dataFrom = dataFrom;
    }

    public String getDataFrom() 
    {
        return dataFrom;
    }

    public void setQualifiedRemark(String qualifiedRemark) 
    {
        this.qualifiedRemark = qualifiedRemark;
    }

    public String getQualifiedRemark() 
    {
        return qualifiedRemark;
    }

    public void setCompanyId(String companyId) 
    {
        this.companyId = companyId;
    }

    public String getCompanyId() 
    {
        return companyId;
    }

    public void setBankCardNo(String bankCardNo) 
    {
        this.bankCardNo = bankCardNo;
    }

    public String getBankCardNo() 
    {
        return bankCardNo;
    }

    public void setBankCardName(String bankCardName) 
    {
        this.bankCardName = bankCardName;
    }

    public String getBankCardName() 
    {
        return bankCardName;
    }

    public void setProcInsId(String procInsId) 
    {
        this.procInsId = procInsId;
    }

    public String getProcInsId() 
    {
        return procInsId;
    }

    public void setState(String state) 
    {
        this.state = state;
    }

    public String getState() 
    {
        return state;
    }

    public void setIsEnable(String isEnable) 
    {
        this.isEnable = isEnable;
    }

    public String getIsEnable() 
    {
        return isEnable;
    }

    public void setNature(String nature) 
    {
        this.nature = nature;
    }

    public String getNature() 
    {
        return nature;
    }

    public void setTaxrate(String taxrate) 
    {
        this.taxrate = taxrate;
    }

    public String getTaxrate() 
    {
        return taxrate;
    }

    public void setRegisteredCapital(String registeredCapital) 
    {
        this.registeredCapital = registeredCapital;
    }

    public String getRegisteredCapital() 
    {
        return registeredCapital;
    }

    public void setResponsibleDept(String responsibleDept) 
    {
        this.responsibleDept = responsibleDept;
    }

    public String getResponsibleDept() 
    {
        return responsibleDept;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("supplierId", getSupplierId())
            .append("supplierNum", getSupplierNum())
            .append("typeId", getTypeId())
            .append("supplierName", getSupplierName())
            .append("supplierPurchasAddress", getSupplierPurchasAddress())
            .append("supplierContact", getSupplierContact())
            .append("supplierPhone", getSupplierPhone())
            .append("supplierPosition", getSupplierPosition())
            .append("supplierAddress", getSupplierAddress())
            .append("supplierMail", getSupplierMail())
            .append("supplierTel", getSupplierTel())
            .append("supplierFax", getSupplierFax())
            .append("supplierRemark", getSupplierRemark())
            .append("addUser", getAddUser())
            .append("addTime", getAddTime())
            .append("modifyUser", getModifyUser())
            .append("modifyTime", getModifyTime())
            .append("delFlag", getDelFlag())
            .append("dataFrom", getDataFrom())
            .append("qualifiedRemark", getQualifiedRemark())
            .append("companyId", getCompanyId())
            .append("bankCardNo", getBankCardNo())
            .append("bankCardName", getBankCardName())
            .append("procInsId", getProcInsId())
            .append("state", getState())
            .append("isEnable", getIsEnable())
            .append("nature", getNature())
            .append("taxrate", getTaxrate())
            .append("registeredCapital", getRegisteredCapital())
            .append("responsibleDept", getResponsibleDept())
            .toString();
    }
}
